package com.example.lj.uav.utils;

import com.example.lj.uav.bean.RouteLine;

import java.util.Comparator;

public  class CEComplexComparator implements Comparator<RouteLine> {
    @Override
    public int compare(RouteLine line, RouteLine line2) {
        if (line.getFileNameCode() > line2.getFileNameCode()) {
            return 1;
        } else if (line.getFileNameCode() == line2.getFileNameCode()) {
            return 0;
        } else {
            return -1;
        }
    }
}
